package vo;

/**
 * SellSubInfo entity. @author MyEclipse Persistence Tools
 */

public class SellSubInfo implements java.io.Serializable {

	// Fields

	private Integer id;
	private SellMainInfo sellMainInfo;
	private GoodsInfo goodsInfo;
	private String price;
	private Integer amount;
	private String account;

	// Constructors

	/** default constructor */
	public SellSubInfo() {
	}

	/** minimal constructor */
	public SellSubInfo(GoodsInfo goodsInfo, Integer amount) {
		this.goodsInfo = goodsInfo;
		this.amount = amount;
	}

	/** full constructor */
	public SellSubInfo(SellMainInfo sellMainInfo, GoodsInfo goodsInfo,
			String price, Integer amount, String account) {
		this.sellMainInfo = sellMainInfo;
		this.goodsInfo = goodsInfo;
		this.price = price;
		this.amount = amount;
		this.account = account;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public SellMainInfo getSellMainInfo() {
		return this.sellMainInfo;
	}

	public void setSellMainInfo(SellMainInfo sellMainInfo) {
		this.sellMainInfo = sellMainInfo;
	}

	public GoodsInfo getGoodsInfo() {
		return this.goodsInfo;
	}

	public void setGoodsInfo(GoodsInfo goodsInfo) {
		this.goodsInfo = goodsInfo;
	}

	public String getPrice() {
		return this.price;
	}

	public void setPrice(String price) {
		this.price = price;
	}

	public Integer getAmount() {
		return this.amount;
	}

	public void setAmount(Integer amount) {
		this.amount = amount;
	}

	public String getAccount() {
		return this.account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

}